package com.tzxx.spider.core;

/**
 * 爬取类型枚举类
 *
 * @author Created by tzxx
 * @since : 2019/7/22.
 */
public enum TypeEnum {
    /**
     * 文章列表页url有序
     */
    List_ORDERING("文章列表页url有序",1),
    /**
     * 文章内容页url有序
     */
    Detail_ORDERING("文章内容页url有序",2),

    ;

    private String desc;
    private int value;

    TypeEnum(String desc, int value) {
        this.desc = desc;
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public int getValue() {
        return value;
    }
}
